<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <title>{{meta_title}}</title>
        <meta name="description" content="{{meta_description}}"/>
        <meta name="HandheldFriendly" content="True"/>
        <meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="format-detection" content="telphone=no, email=no"/>
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <link rel="apple-touch-icon" href="{{@blog.logo}}"/>
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link rel="shortcut icon" href="{{asset "favicon.ico"}}">
        <link rel="stylesheet" type="text/css" href="{{asset "lib/zui/css/zui.min.css"}}"/>
        <link rel="stylesheet" type="text/css" href="{{asset "lib/font-awesome/css/font-awesome.min.css"}}"/>
        <link rel="stylesheet" type="text/css" href="{{asset "lib/prism/prism.css"}}"/>
        <link rel="stylesheet" type="text/css" href="{{asset "css/default.css"}}"/>
        {{> config}}
        {{ghost_head}}
    </head>
    <body class="{{body_class}}">
        {{{body}}}
        {{ghost_foot}}
        <div class="modal fade" id="searchModal">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                        <h4 class="modal-title"><i class="icon-search"></i> 搜索</h4>
                    </div>
                    <div class="modal-body">
                        <form class="input-group">
                            <input type="text" class="form-control" id="search-field" autocomplete="off">
                            <span class="input-group-btn">
                                <input class="btn btn-default" type="submit" value="搜索">
                            </span>
                        </form>
                    <section class="mt-10 word-wrap" id="results"></section>
                </div>
            </div>
        </div>
    </div>
    <div class="backTop">
        <button class="btn btn-inverse">
        <i class="fa fa-chevron-up"></i>
        </button>
    </div>
</div>
<script type="text/javascript" src="{{asset "lib/jquery/jquery.min.js"}}"></script>
<!--[if lt IE 9]>
<script src="{{asset "lib/ieonly/html5shiv.js"}}"></script>
<script src="{{asset "lib/ieonly/respond.js"}}"></script>
<![endif]-->
<script type="text/javascript" src="{{asset "lib/zui/js/zui.min.js"}}"></script>
<script type="text/javascript" src="{{asset "lib/nicescroll/jquery.nicescroll.min.js"}}"></script>
<script type="text/javascript" src="{{asset "lib/ghosthunter/jquery.ghosthunter.min.js"}}"></script>
<script type="text/javascript" src="{{asset "lib/clipboard/clipboard.min.js"}}"></script>
<script type="text/javascript" src="{{asset "lib/prism/prism.js"}}"></script>
<script type="text/javascript" src="{{asset "lib/toc/jquery.toc.js"}}"></script>
<script type="text/javascript" src="{{asset "js/default.js"}}"></script>
<!-- 畅言公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
(function() {
    var appid = 'cyt3koUbX';
    var conf = 'prod_fdea35086b1cb85703eec6e735c8660c';
    var width = window.innerWidth || document.documentElement.clientWidth;
    if (width < 960) {
        window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>');
    } else {
        var loadJs = function(d, a) {
            var c = document.getElementsByTagName("head")[0] || document.head || document.documentElement;
            var b = document.createElement("script");
            b.setAttribute("type", "text/javascript");
            b.setAttribute("charset", "UTF-8");
            b.setAttribute("src", d);
            if (typeof a === "function") {
                if (window.attachEvent) {
                    b.onreadystatechange = function() {
                        var e = b.readyState;
                        if (e === "loaded" || e === "complete") {
                            b.onreadystatechange = null;
                            a()
                        }
                    }
                } else {
                    b.onload = a
                }
            }
            c.appendChild(b)
        };
        loadJs("http://changyan.sohu.com/upload/changyan.js", function() {
            window.changyan.api.config({
                appid: appid,
                conf: conf
            })
        });
    }
})();
</script>
<script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyt3koUbX"></script>
<script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cyt3koUbX"></script>
<!-- 畅言公共JS代码 end -->
</body>
</html>